projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d727d
)
(Fwindow_end): Call move_it_past_eol only if
author
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Mar 2001 19:31:06 +0000
(19:31 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Thu, 1 Mar 2001 19:31:06 +0000
(19:31 +0000)
ending up on a partially visible line.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 71e490724b61ac16d60f7b1d9193d6cee4889d4c..b02cc6b7969c66cf494691dcf9dbb77f4e553a85 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-930,7
+930,8
@@
if it isn't already recorded.")
start_display (&it, w, startp);
move_it_vertically (&it, window_box_height (w));
- move_it_past_eol (&it);
+ if (it.current_y < it.last_visible_y)
+ move_it_past_eol (&it);
value = make_number (IT_CHARPOS (it));
if (old_buffer)